<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ page import="java.text.DateFormat" %>
<%@ page import="java.text.SimpleDateFormat" %>

<%
Date date = new Date();
	DateFormat format = new SimpleDateFormat("yyyy年MM月dd日,E");
	String now =format.format(date);
%>
<div
	style="height:50px;line-height:50px;background:#F2F2F2;position: fixed;left:0;bottom:0;right:0;width:100%;">
	<span style="margin-left:210px;">Copyright © 2018 . All rights
		reserved.</span> <span style="margin-left:10px;float:right;">,<%=now%></span>
</div>


</div>

<script>
	//注意：导航 依赖 element 模块，否则无法进行功能性操作
	layui.use('element', function() {
		var element = layui.element;

		//监听导航点击
		element.on('nav(demo)', function(elem) {
			//console.log(elem)
			//layer.msg(elem.text());
		});
	});
</script>

</body>
</html>
